﻿<Window x:Class="D3StockChart.Tester.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:c="http://research.microsoft.com/DynamicDataDisplay/1.0"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Button Name="resetButton"
                Content="Reset"
                Margin="5"
                Width="auto" Height="20" HorizontalAlignment="Left"
                Click="resetButton_Clicked"
                />
            <Button Name="newPriceButton"
                Content="New Price"
                Margin="5"
                Width="auto" Height="20" HorizontalAlignment="Left"
                Click="newPriceButton_Clicked"
                />
            <Button Name="newMarkButton"
                Content="New Mark"
                Margin="5"
                Width="auto" Height="20" HorizontalAlignment="Left"
                Click="newMarkButton_Clicked"
                />
        </StackPanel>
        <c:ChartPlotter Grid.Row="1" Name="plotter">
            <c:ChartPlotter.HorizontalAxis>
                <c:HorizontalDateTimeAxis Name="dateAxis"/>
            </c:ChartPlotter.HorizontalAxis>
        </c:ChartPlotter>
    </Grid>
</Window>
